package ooday01;

//学生类的测试类
public class StudentTest {
    public static void main(String[] args) {
        Student zs = new Student();
        zs.name = "张三";
        zs.age = 23;
        zs.className = "jsd2302";
        zs.stuid = "001";
        zs.study();
        zs.sayHi();
        zs.playWith("李四");



        Student ls = new Student();
        ls.name = "李四";
        ls.age = 24;
        ls.className  = "jsd2302";
        ls.stuid = "002";
        ls.study();
        ls.sayHi();
        ls.playWith("张三");



        Student ww = new Student();
        ww.name= "王五";
        ww.age = 25;
        ww.className = "jsd2302";
        ww.stuid = "003";
        ww.study();
        ww.sayHi();
        ww.playWith("张三和李四");


        Student zl = new Student();
        zl.study();
        zl.sayHi();
        zl.playWith("张三");






    }
}
